#ifndef MYSCANAXIS_H
#define MYSCANAXIS_H

#include <QWidget>
#include <qwt_thermo.h>
#include <qwt_scale_engine.h>
#include <qwt_color_map.h>
#include "analytedatabase.h"
#include <qwt_scale_widget.h>

class MyScanAxis : public QWidget
{
    Q_OBJECT
public:
    explicit MyScanAxis(QWidget *parent = 0);

    void SetScan(QList<ScanPara>,QList<QPair<double,double> >);
private:
    QwtThermo *d_thermo;
    QwtScaleWidget *pScaleWidget;
    QWidget *pWidget;

    QList<ScanPara> scanParas;
    QList<QPair<double,double> > forbidRangs;
protected:
   void paintEvent( QPaintEvent * event );
signals:
    
public slots:
    
};

#endif // MYSCANAXIS_H
